package com.animals.dog.dogService;

import org.springframework.stereotype.Component;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


@Component
public class CatClientFallback implements CatClient{

  private final Logger logger = LoggerFactory.getLogger(getClass());

  @Override
  public Integer add(Integer a,  Integer b){
    logger.error("fallback add!");
    return null;
  }

  @Override
  public String testPost(String a){
    logger.error("fallback testpost!");
    return "this is catClient fallback!!";
  }
}
